/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package downloadmanager.event;

import downloadmanager.downloader.Downloader;

/**
 *
 * @author Administrator
 */
public class DownloaderEventArgs {

    private Downloader downloader;
    private boolean willStart;

    public DownloaderEventArgs(Downloader download) {
        this.downloader = download;
    }

    public DownloaderEventArgs(Downloader download, boolean willStart) {
        this(download);
        this.willStart = willStart;
    }

    public Downloader getDownloader() {
        return downloader;
    }

    public boolean getWillStart() {
        return willStart;
    }
}
